package com.fuqi.android.zhongcai.base.request.api;


import com.android.volley.Response;
import com.fuqi.android.zhongcai.base.ApiUrl;
import com.fuqi.android.zhongcai.base.request.result.PushResult;
import com.fuqi.framework.network.api.MultipartRequest;
import com.fuqi.framework.network.params.BaseParams;

import java.io.File;
import java.util.List;
import java.util.Map;


/*
*  上传图片接口
* */


public class PushImgApi extends MultipartRequest {

    public PushImgApi(Response.Listener<PushResult> listener, Response.ErrorListener errorListener,
                      String filePartName, File file, Map<String, String> params) {
        super(ApiUrl.pushImg(), listener, errorListener, filePartName ,file,params,PushResult.class);
    }

    public PushImgApi(Response.Listener<PushResult> listener, Response.ErrorListener errorListener,
                      String filePartName, List<File> files, Map<String, String> params) {
        super(ApiUrl.pushImgs(), listener, errorListener, filePartName ,files,params,PushResult.class);
    }

    public static class PushImgParams extends BaseParams {

        public PushImgParams() {
//            put("PICS", pics);
        }
    }
}
